/*
 * Copyleft 2012 Power by tangjiannan.
 *
 * Project: app-crm
 * Date: Apr 4, 2012
 */
package com.crm.business.web.svcpkg.service;

import java.util.Map;

import com.crm.common.service.export.SvcItemServiceExport;
import com.crm.common.web.service.WebCommonService;

/**
 * Customer Service
 * 
 * @author tangjiannan
 * 
 */
public interface SvcItemService extends WebCommonService, SvcItemServiceExport {

    /**
     * add items
     * 
     * @param params Arguments
     */
    boolean addItem(Map<String, Object> params);

    /**
     * query items infos by conditions
     * 
     * @param params Arguments
     */
    void doQuery(Map<String, Object> params);

    /**
     * query a item model
     * 
     * @param params params
     */
    void doQueryModel(Map<String, Object> params);

    /**
     * delete svcitem by id
     * 
     * @param params params
     * @return boolean
     */
    public boolean doDelItem(Map<String, Object> params);

    /**
     * update svcitem
     * 
     * @param params params
     * @return boolean
     */
    boolean doUpdateItem(Map<String, Object> params);
}
